<?php

use Illuminate\Database\Seeder;
use App\Model\weusers;
class WeUsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        weusers::truncate();

        $faker = \Faker\Factory::create();

        for($i = 0;$i < 1000; $i++){
            weusers::create([
                'weid' => 'weid'.$faker->randomNumber,
                'wenumber' => 'wenumber'.$faker->randomNumber(),
                'sex' => $faker->numberBetween(1,2),
                'location' => $faker->sentence
            ]);
        }
    }
}
